body {
  position: relative;
  font-size: 20px;
}

body,
html {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

a {
  color: #00B7FF;
}

.body_container {
  position: absolute;
  width: 100%;
  top: 0;
  bottom: 0;
  /* background-image: linear-gradient(to right, RGB(188, 39, 32), RGB(179, 25, 19));
   */
  background-image: url("../images/bg.jpg");
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.createfacebg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  -webkit-filter: brightness(0.9) blur(5px);
  -moz-filter: brightness(0.9) blur(5px);
  -o-filter: brightness(0.9) blur(5px);
  -ms-filter: brightness(0.9) blur(5px);
  filter: brightness(0.9) blur(5px);
  z-index: 0;
}

.face_container {
  z-index: 1;
}

.layout,
.sharecontainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.layout {
  z-index: 2;
  width: 100%;
  height: 100%;

}

.layout img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.tip {
  position: absolute;
  bottom: -70px;
  display: flex;
  align-items: flex-end;
  right: 0;
}

.press {
  width: 100px;
}

.close_button {
  position: absolute;
  right: 10px;
  top: 10px;
}

.myCanvas {
  z-index: 1;
  box-shadow: 10px 10px 15px #00000050;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0)
}


.headerbg {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.outer {
  display: flex;
  justify-content: center;
  position: relative;
}

.outerborder {
  position: absolute;
  width: calc(100% + 160px);
  height: calc(100% + 140px);
  top: -70px;
  left: -90px;
}

.button_style {
  width: 250px;
  height: 80px;
  background: RGB(179, 25, 19);
  border-radius: 8px;
  color: white;
  border: 1px solid white;
  margin: 10px 0;
  font-size: 26px;
}

#uface {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 150px;
}

.a-upload {
  width: 250px;
  height: 80px;
  line-height: 80px;
  font-size: 26px;
  text-decoration: none;
  text-align: center;
  background: RGB(179, 25, 19) !important;
  border-radius: 8px;
  color: white;
  border: 1px solid white;
  position: relative;
  cursor: pointer;
  color: white;
  border: 1px solid #fff;
  overflow: hidden;
  display: inline-block;
  margin: 10px;
}

.a-upload input {
  position: absolute;
  font-size: 100px;
  right: 0;
  top: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  cursor: pointer
}

/* The Modal (background) */
.modal {
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: absolute;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 60%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 50%;
    opacity: 1
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 50%;
    opacity: 1
  }
}


.modal-header {
  padding: 2px 16px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  text-align: center;
}

.modal-body {
  padding: 2px 16px;
}

.modal-footer {
  padding: 2px 16px;
  background-color: RGB(179, 25, 19);
  color: white;
}

.input_container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: 50px;
}

.input_item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;

}

.input_item:hover {
  background: #cccccc50;
}